package com.bootdo.goods.service;

import com.bootdo.common.domain.Tree;
import com.bootdo.goods.domain.GoodstypeDO;
import com.bootdo.system.domain.DeptDO;

import java.util.List;
import java.util.Map;

/**
 * 商品类别
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-03-02 18:22:13
 */
public interface GoodstypeService {
	
	GoodstypeDO get(Integer id);
	
	List<GoodstypeDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GoodstypeDO goodstype);
	
	int update(GoodstypeDO goodstype);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	Tree<GoodstypeDO> getTree();
}
